﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhonTai.Industry.Services.ProductSeries.Dto.Input
{
    public class ProductSeriesUpdateInput
    {
        /// <summary>
        /// Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        /// <remarks>编号</remarks>
        [Required(ErrorMessage = "产品系列编号不能为空")]
        public string SeriesCode { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        /// <remarks>名称</remarks>
        [Required(ErrorMessage = "产品系列名称不能为空")]
        public string SeriesName { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        /// <remarks>排序</remarks>
        public int Sort { get; set; }

        /// <summary>
        /// 启用
        /// </summary>
        /// <remarks>启用</remarks>
        public bool Enabled { get; set; }
    }
}